package com.detrum.bean;

/**
 * Created by abc on 2018/1/11.
 * 设备上接收的数据-----缓存用
 */

public class CodecBean {
    byte[] data;
    int length;

    public CodecBean(byte[] data, int length) {
        this.data = data;
        this.length = length;
    }

    public byte[] getData() {
        return data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }

    public int getLength() {
        return length;
    }

    public void setLength(int length) {
        this.length = length;
    }
}
